package com.cms.system.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.cms.lang.jpa.BaseEntity;

@Entity
@Table(name = "sys_user")
public class UserEntity extends BaseEntity {

	private static final long serialVersionUID = 1731575846637873898L;

	private String loginName;// 登录名
	private String realName;// 真实姓名
	private String password;
	private String phoneNumber;// 手机号
	private String memberId;// 平台注册会员ID

	private Date lastLoginTime;
	private String lastLoginIp;
	private Integer loginCounts;
	private String createIp;

	public UserEntity() {

	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getLastLoginIp() {
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public Integer getLoginCounts() {
		return loginCounts;
	}

	public void setLoginCounts(Integer loginCounts) {
		this.loginCounts = loginCounts;
	}

	public String getCreateIp() {
		return createIp;
	}

	public void setCreateIp(String createIp) {
		this.createIp = createIp;
	}

}